package com.tpu.bdclasses;
/**
 * @hibernate.class table="deliver"  
 */
public class Deliver {
	private int deliver_id;
	private String name;
	private TheatreOrder theorder;
	public Deliver(int deliver_id, String name, TheatreOrder theorder) {
		super();
		this.deliver_id = deliver_id;
		this.name = name;
		this.theorder = theorder;
	}
	public Deliver(){}
	public TheatreOrder getTheorder() {
		return theorder;
	}
	public void setTheorder(TheatreOrder theorder) {
		this.theorder = theorder;
	}
	
	 /**
	  * @hibernate.id generator-class="native" column="ticket_id"
	  */
	public int getDeliver_id() {
		return deliver_id;
	}
	public void setDeliver_id(int id) {
		this.deliver_id = id;
	}
	 /**
     * @hibernate.property column="name"
     */
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	

}
